{% extends 'base.html' %}
{% load staticfiles %}
{% block title %}
    提交文件
{% endblock %}


{% block content %}
    <main role="main" class="container">
      <div class="jumbotron">
        <h1>请按如下规则命名提交文件：</h1>
        <mark class="lead">姓名-{{ collection.word1 }}-{{ collection.word2 }}-{{ collection.word3 }}.{{ collection.word4 }}</mark>
        <p class="lead">要求: {{ collection.otherinfo }}</p>
          <a >收件人: {{ collection.username }}</a>
        <a >截止时间: {{ collection.date }}</a>
        <form action="{% url 'info' %}?user={{ user }}&ppid={{ collection.ppid }}" method="post" enctype="multipart/form-data">
            {% csrf_token %}
            <input type="file" name="myfile">
            <input type="submit" class="btn btn-lg btn-primary" value="提交文件" role="button">
        </form>
      </div>
    </main>
{% endblock %}